// Generated on 2015-08-04 using generator-angular 0.12.1
'use strict';

// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'

module.exports = function (grunt) {

  // Time how long tasks take. Can help when optimizing build times
  require('time-grunt')(grunt);

  // Configurable paths for the application
  var appConfig = {
  };

  // Define the configuration for all the tasks
  grunt.initConfig({

    // Project settings
    yeoman: appConfig,

    bowercopy: {
      options: {
        srcPrefix: 'bower_components'
      },
      script: {
        options: {
          destPrefix: 'webapp/angular/scripts/vendor/'
        },
        files: {
          'angular': '**/angular*.js',
          'jquery': 'jquery/dist/jquery*.js',
          'zepto': 'zepto/zepto*.js',
          'requirejs': 'requirejs/require.js'
        }
      }
    }
  });

  grunt.loadNpmTasks('grunt-bowercopy');

  grunt.registerTask('bulidjs',['bowercopy']);

};
